<template>
  <div class="subfooter">
    <div class="subfooter-sec1">
      <a target="_blank" :href="parseFullPath('/beginner/')">了解之了</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a target="_blank" :href="parseFullPath('/beginner/')">联系我们</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a target="_blank" :href="parseFullPath('/beginner/')">帮助中心</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a target="_blank" :href="parseFullPath('/join/')">加入我们</a>
    </div>
    <div class="subfooter-sec2">
      <div>
        Copyright &copy; {{ year ? '2016-' + year : '' }} {{ host }} All Rights Reserved.&nbsp;&nbsp;
        <span class="site-name">{{ site_name }}</span>
        版权所有
      </div>
      <div style="margin-top:5px;">
        <a href="http://beian.miit.gov.cn" class="beiNumber" style="color: #999">{{ site_num }}</a>
        &nbsp;
        <span class="wangwen">{{ wangwen_num }}</span>
        &nbsp;
        <a :href="parseFullPath(gongan.url)" class="gongan" target="_blank">{{ gongan.code }}</a>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      footerLogo: '//image.zlketang.com/public/news/images/guanwangPic/header-logo.png',
      site_num: '',
      wangwen_num: '',
      host: '',
      year: '',
      gongan: {},
      site_name: ''
    }
  },
  mounted() {
    this.setICPNumber()
  }
}
</script>
<style scoped>
.subfooter {
  height: 160px;
  box-sizing: border-box;
  padding: 40px 0 30px 0;
}

.subfooter-sec1 {
  width: 100%;
  height: 20px;
  line-height: 20px;
  margin: 0 0 30px 0;
  text-align: center;
  font-size: 16px;
  color: #999999;
}
.subfooter-sec1 a {
  color: #999999;
}
.subfooter-sec1 a:hover {
  color: #ff8b07;
  text-decoration: underline;
}
.subfooter-sec2 {
  width: 100%;
  height: 40px;
  line-height: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}
.gongan {
  color: #999;
  background-image: url('');
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 25px;
  background-size: contain;
}
</style>
